import sqlite3 as sq
import pandas as pd

con = sq.connect('Key_featureDB.db')
train_feature=pd.read_csv('D:/FICTECH80/data/train/feature.csv',encoding='utf-8')
train_lable=pd.read_csv('D:/FICTECH80/data/train/label.csv',encoding='utf-8')
train_feature=train_feature[['APPLICATION_ID','v086','v183','v428','v883','v906','v682','v282','v647','v295']]
train_data=pd.merge(train_feature,train_lable,on='APPLICATION_ID')
train_data.to_sql('train_data',con,if_exists='replace',index=False)